package com.xindacloud.sms.adapter.utils;

/**
 * Created with IntelliJ IDEA
 * User: 张家喻
 * Date: 2020/3/24
 * Time: 8:02
 * Description:
 */
public enum RptDescEum {

    ACCEPTED("accepted", "Message has been accepted for delivery, but has not yet been delivered"),
    DELIVERED("delivered", "Message has been delivered"),
    BUFFERED("buffered", "Message has been buffered for later delivery"),
    EXPIRED("expired", "Message was held at downstream carrier's retry scheme and could not be delivered within the expiry time"),
    FAILED("failed", "Message not delivered"),
    REJECTED("rejected", "Downstream carrier refuses to deliver message"),
    UNKNOWN("unknown", "No useful information available");

    private String status;
    private String desc;

    RptDescEum(String status, String desc) {
        this.status = status;
        this.desc = desc;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

}
